package org.jeecg.modules.solitaire_app.app.query;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class WithdrawLogQuery {

    /**id*/
    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
    private String id;
    /**所属用户*/
    @Excel(name = "所属用户", width = 15)
    @ApiModelProperty(value = "所属用户")
    private String userId;
    /**提现金额*/
    @Excel(name = "提现金额", width = 15)
    @ApiModelProperty(value = "提现金额")
    private java.math.BigDecimal money;
    /**提现时间*/
    @Excel(name = "提现时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "提现时间")
    private Date createTime;
    /**审核状态：0-未审核，1-审核通过，2-审核失败*/
    @Excel(name = "审核状态：0-未审核，1-审核通过，2-审核失败", width = 15)
    @ApiModelProperty(value = "审核状态：0-未审核，1-审核通过，2-审核失败")
    private Integer status;
    /**拒绝原因*/
    @Excel(name = "拒绝原因", width = 15)
    @ApiModelProperty(value = "拒绝原因")
    private String rejectReason;
    /**审核时间*/
    @Excel(name = "审核时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
    private Date updateTime;
    /**实际到账金额*/
    @Excel(name = "实际到账金额", width = 15)
    @ApiModelProperty(value = "实际到账金额")
    private BigDecimal actualPrice;
    /**扣除手续费*/
    @Excel(name = "扣除手续费", width = 15)
    @ApiModelProperty(value = "扣除手续费")
    private BigDecimal commission;

    /**扣除手续费*/
    @Excel(name = "小程序id", width = 15)
    @ApiModelProperty(value = "扣除手续费")
    private String appId;

    @ApiModelProperty(value = "银行卡卡号")
    private String yhkNum;

    @ApiModelProperty(value = "银行卡开户行")
    private String yhkKhh;

    @ApiModelProperty(value = "银行卡预留手机号")
    private String yhkPhone;

    @ApiModelProperty(value = "银行卡预留姓名")
    private String yhkUserName;
}
